package com.TaskOrganizer.managers;

import com.TaskOrganizer.actions.About;
import com.TaskOrganizer.actions.AddTask;
import com.TaskOrganizer.actions.Backup;
import com.TaskOrganizer.actions.ListTasks;
import com.TaskOrganizer.actions.RemoveTask;

public class ActionManager {

	private About aboutAction;
	private AddTask addTaskAction;
	private RemoveTask removeTaskAction;
	private ListTasks listTasksAction;
	private Backup backupAction;

	public ActionManager() {
		aboutAction = new About();
		addTaskAction = new AddTask();
		removeTaskAction = new RemoveTask();
		listTasksAction = new ListTasks();
		setBackupAction(new Backup());
	}

	public ListTasks getListTasksAction() {
		return listTasksAction;
	}

	public RemoveTask getRemoveTaskAction() {
		return removeTaskAction;
	}

	public About getAboutAction() {
		return aboutAction;
	}

	public AddTask getAddTaskAction() {
		return addTaskAction;
	}

	public Backup getBackupAction() {
		return backupAction;
	}

	public void setBackupAction(Backup backupAction) {
		this.backupAction = backupAction;
	}
}
